package com.duan.filter;

import org.springframework.stereotype.Component;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author db
 * @version 1.0
 * @description TestFilter
 * @since 2023/12/20
 */
//@Component
//public class TestFilter implements Filter {
//    @Override
//    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
//        System.out.println("通过@Component方式配置过滤器");
//        chain.doFilter(request,response);
//    }
//}
